package cn.wolfcode.luowowo.home.vo;

/**
 * Created by Administrator on 2020/1/9.
 */

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.domain.Travel;
import cn.wolfcode.luowowo.cache.vo.TravelStatisVO;
import cn.wolfcode.luowowo.comment.domain.ScenicComment;
import cn.wolfcode.luowowo.member.domain.UserInfo;
import com.github.pagehelper.PageInfo;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 用户空间的查询结果vo对象
 */
@Setter
@Getter
public class UserHomeVO implements Serializable{
    //用户相关信息
    private UserInfo userInfo;
    //关注用户数量
    private Integer followNum;
    //粉丝数量
    private Integer fansNum;
    //关注用户的集合
    private List<UserInfo> followUsers;
    //关联的游记集合
    private List<Travel> travels;
    //关联的游记数量
    private Integer travelNum;
    //游记目的地所在的区域
    private List<Destination> toasts ;
    //每个游记的统计数据
    private TravelStatisVO travelStatisVO;
    //该用户的个人空间的历史浏览用户集合
    private List<UserInfo> historyUserInfo;
    //该用户个人空间的历史浏览量
    private int historyViewNum;
    //该用户个人空间的今日浏览量
    private int todayViewNum;
    //关联的点评
    private List<ScenicComment> scenicComment;
    //点评数
    private int commentNum;
    //游记分页数据
    private PageInfo pageInfo;
}
